<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>123123</title>
    <style type="text/css">
        .top{
            margin: 10px 0px 10px 0px;
            display: flex;
            justify-content: flex-end;
            padding-right: 10px;
            border: 1px solid #efefef;
            background: #EEEEEE;
            border-radius: 5px;
        }
        .top-button1{
            background: #ff8200;
            border: 1px solid #ff9200
        ;color: #FFFFFF;
            margin: 10px 0 10px 10px;
            border-radius: 5px;
            padding: 0 10px;
        }
        .top-button2{
            background: #0000FF;
            border: 1px solid #0000FF;
            color: #FFFFFF;
            margin: 10px 0 10px 10px;
            border-radius: 5px;
            padding: 0 10px;
        }
        .top-button3{
            background: #7FFFAA;
            border: 1px solid #7FFFAA;
            color: #FFFFFF;
            margin: 10px 0 10px 10px;
            border-radius: 5px;
            padding: 0 10px;
        }
        .body-b{
            margin-top: 10px;
        }
        .name{
            background: #DCDCDC;
            padding: 10px;
        }
        .table-b{
            border-left: 1px solid #A9A9A9;
            border-bottom: 1px solid #A9A9A9;
            border-right: 1px solid #A9A9A9;
        }
        .table-c{
            border: 1px solid #A9A9A9;
        }
        th{border-right: 1px solid #A9A9A9;}
        td{text-align: center;border-right: 1px solid #A9A9A9;background: #F5F5F5;}
    </style>
</head>
<body style="width: 100%;height: 100%;margin: 0px;">
<div style='padding: 10px;'>
    <div class="body-b">
        <div class="name">基本信息</div>
        <table border="0" cellspacing="0" cellpadding="10" style="width: 100%;" class="table-b">
            <tr>
                <th style="width: 10%;">订单号</th>
                <th style="width: 26%">订单编号</th>
                <th style="width: 15%;">会员编号</th>
                <th style="width: 18%;">支付金额</th>
                <th style="width: 15%;">订单状态</th>
                <th style="width: 15%;">下单时间</th>
            </tr>
            <tr>
                <td style="width: 10%;">{$find.or_id}</td>
                <td style="width: 26%">{$find.or_batch}</td>
                <td style="width: 15%;">{$find.or_uid}</td>
                <td style="width: 18%;">{$find.or_pay}</td>
                <td style="width: 15%;">
                    {if $find.or_state == 0}待付款
                    {elseif $find.or_state == 1}待发货
                    {elseif $find.or_state == 2}待收货
                    {elseif $find.or_state == 3}待评价
                    {elseif $find.or_state == 4}退货中
                    {elseif $find.or_state == 5}退货成功
                    {elseif $find.or_state == 6}交易关闭
                    {else}交易完成
                    {/if}
                </td>
                <td style="width: 15%;">{$find.or_xtime|date="Y-m-d,H:i:s",###}</td>
            </tr>
        </table>
    </div>
    <div class="body-b">
        <div class="name">收货信息</div>
        <table border="0" cellspacing="0" cellpadding="10" style="width: 100%;" class="table-b">
            <tr>
                <th style="width: 15%;">收件人</th>
                <th style="width: 20%">联系电话</th>
                <th style="width: 45%;">收获地址</th>
                <th style="width: 20%;">配送方式</th>
            </tr>
            <tr>
                <td style="width: 15%;">{$find.or_add.aname}</td>
                <td style="width: 20%">{$find.or_add.phone}</td>
                <td style="width: 45%;">{$find.or_add.addre}</td>
                <td style="width: 20%;">{if $find.or_expr == ''}未发货{else}{$find.or_expr.ename}{/if}</td>
            </tr>
        </table>
    </div>
    <div class="body-b">
        <table border="0" cellspacing="0" cellpadding="10" style="width: 100%;" class="table-c">
            <tr>
                <th style="width: 50%;">商品信息</th>
                <th style="width: 10%;">现金(元)</th>
                <th style="width: 10%;">积分(个)</th>
                <th style="width: 10%;">是否包邮</th>
            </tr>
            <tr>
                <td style="display: flex;">
                    <div style=""><img src="{$find.go_thumb}" width="200" height="200"></div>
                    <div style="padding-top: 100px;">{$find.go_name}</div>
                </td>
                <td style="width: 10%">{$find.go_price}</td>
                <td style="width: 10%;">{$find.go_score}</td>
                <td style="width: 10%;">{if $find.go_free == 1}是{else}否{/if}</td>
            </tr>
        </table>
    </div>
    <div class="body-b">
        <div class="name">费用信息</div>
        <table border="0" cellspacing="0" cellpadding="10" style="width: 100%;" class="table-b">
            <tr>
                <th style="width: 30%;">使用现金(元)</th>
                <th style="width: 30%">使用积分</th>
                <th style="width: 20%;">运费(元)</th>
                <th style="width: 20%;">总计(元)</th>
            </tr>
            <tr>
                <td style="width: 30%;">{$find.or_cash}</td>
                <td style="width: 30%">{$find.or_integral}</td>
                <td style="width: 20%;">{$find.or_mail}</td>
                <td style="width: 20%;">{$find.or_price}</td>
            </tr>
        </table>
    </div>
</div>
</body>
</html>
